﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace RentIt06
{
    [ServiceContract(Namespace="RentIt06")]
    public interface ICreateAccountSession
    {
        /// <summary>
        /// Creates a new account.
        /// Use UpdateAccount when logged in to fill in the rest of the information.
        /// </summary>
        /// <param name="email">The email of the new account.</param>
        /// <param name="password">The password of the new account.</param>
        [OperationContract]
        void CreateAccount(string email, string password);
    }
}
